package com.yljk.yljkproject.entity;

import com.flyco.tablayout.listener.CustomTabEntity;

public
class TabEntity implements CustomTabEntity {

    private int selectIcon;
    private int unselectIcon;
    private String title;

    public TabEntity(int selectIcon, int unselectIcon, String title) {
        this.selectIcon = selectIcon;
        this.unselectIcon = unselectIcon;
        this.title = title;
    }

    @Override
    public String getTabTitle() {
        return title;
    }

    @Override
    public int getTabSelectedIcon() {
        return selectIcon;
    }

    @Override
    public int getTabUnselectedIcon() {
        return unselectIcon;
    }
}
